package com.kexin.student.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.kexin.student.mapper.StudentLogMapper;
import com.kexin.student.domain.StudentLog;
import com.kexin.student.service.IStudentLogService;

/**
 * 操作日志Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-04-10
 */
@Service
public class StudentLogServiceImpl implements IStudentLogService 
{
    @Autowired
    private StudentLogMapper studentLogMapper;

    /**
     * 查询操作日志
     * 
     * @param id 操作日志主键
     * @return 操作日志
     */
    @Override
    public StudentLog selectStudentLogById(Long id)
    {
        return studentLogMapper.selectStudentLogById(id);
    }

    /**
     * 查询操作日志列表
     * 
     * @param studentLog 操作日志
     * @return 操作日志
     */
    @Override
    public List<StudentLog> selectStudentLogList(StudentLog studentLog)
    {
        return studentLogMapper.selectStudentLogList(studentLog);
    }

    /**
     * 新增操作日志
     * 
     * @param studentLog 操作日志
     * @return 结果
     */
    @Override
    public int insertStudentLog(StudentLog studentLog)
    {
        return studentLogMapper.insertStudentLog(studentLog);
    }

    /**
     * 修改操作日志
     * 
     * @param studentLog 操作日志
     * @return 结果
     */
    @Override
    public int updateStudentLog(StudentLog studentLog)
    {
        return studentLogMapper.updateStudentLog(studentLog);
    }

    /**
     * 批量删除操作日志
     * 
     * @param ids 需要删除的操作日志主键
     * @return 结果
     */
    @Override
    public int deleteStudentLogByIds(Long[] ids)
    {
        return studentLogMapper.deleteStudentLogByIds(ids);
    }

    /**
     * 删除操作日志信息
     * 
     * @param id 操作日志主键
     * @return 结果
     */
    @Override
    public int deleteStudentLogById(Long id)
    {
        return studentLogMapper.deleteStudentLogById(id);
    }
}
